import Vue from 'vue'
// var login = {
//     template: "<h1>这是注册组件</h1>"
// }
import app from './app.vue'
import MintUI from 'mint-ui'
// mintui的css
import 'mint-ui/lib/style.css'
// mui的css
import './lib/mui/css/mui.css'
// 主页面css
import './css/index.css'
import './lib/mui/css/icons-extra.css'

import router from './router/router.js'
import VueResource from 'vue-resource'

import './Mock/mock.js'
Vue.use(MintUI)
Vue.use(VueResource)
Vue.http.options.root='http://www.liulongbin.top:3005';

import VuePreview from 'vue-preview'
Vue.use(VuePreview)

import store from './store/index.js'
new Vue({
    el: "#app",
    data() {
        return {
            msg: "哈哈哈"
        }
    },
    render: r => r(app),
    router,
    store
})